VMX: fixup PI descriptor when cpu is offline
authorFeng Wu <feng.wu@intel.com>
Fri, 7 Apr 2017 13:37:55 +0000 (15:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 13:37:55 +0000 (15:37 +0200)
commit92fc8d10f5b59bd59455962b41953d6ca3ecfd16
tree67ddc5f21a291c7ded384ac7dd76ff9caa10c5f8
parent90bc123d26374e6045542d10e74833d19d1338d9
VMX: fixup PI descriptor when cpu is offline

When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Signed-off-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/vmx/vmx.h